package org.lanqiao.dxzf.entity;

public class Account {
	private int fin_id;//财务账号ID
	private int cid;//客户ID
	private String cname;//姓名
	private String cidcard;//身份证
	private String clogin;//登录账号
	private String cpsw;//密码
	private String ctel;//电话
	private int referrerid;//推荐人
	private String referrerid_cidcard;//推荐人身份证
	private String fin_status;//状态
	private String fin_create_time;//创建时间
	private String last_log;//上次登录时间
	private String server_ip;//服务器ip
	private String cemail;//email
	private String occupation;//职业
	private String csex;//性别
	private String contact_address;//通讯地址
	private String postcode;//邮编
	private String qq;//QQ
	private Customer customer;//
	
	public Account() {
		
	}

	public Account(int fin_id, int cid, String cname, String cidcard, String clogin, String cpsw, String ctel, int referrerid,
			String referrerid_cidcard, String fin_status, String fin_create_time, String last_log, String server_ip,
			String cemail, String occupation, String csex, String contact_address, String postcode, String qq,
			Customer customer) {
		super();
		this.fin_id = fin_id;
		this.cid = cid;
		this.cname = cname;
		this.cidcard = cidcard;
		this.clogin = clogin;
		this.cpsw = cpsw;
		this.ctel = ctel;
		this.referrerid = referrerid;
		this.referrerid_cidcard = referrerid_cidcard;
		this.fin_status = fin_status;
		this.fin_create_time = fin_create_time;
		this.last_log = last_log;
		this.server_ip = server_ip;
		this.cemail = cemail;
		this.occupation = occupation;
		this.csex = csex;
		this.contact_address = contact_address;
		this.postcode = postcode;
		this.qq = qq;
		this.customer = customer;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
		this.cid = customer.getCid();
		this.cname = customer.getCname();
		this.cidcard = customer.getCidcard();
		this.clogin = customer.getClogin();
		this.cpsw = customer.getCpsw();
		this.ctel = customer.getCtel();
		this.server_ip = customer.getServer_ip();
		this.cemail = customer.getCemail();
		this.occupation = customer.getOccupation();
		this.csex = customer.getCsex();
		this.contact_address = customer.getContact_address();
		this.postcode = customer.getPostcode();
		this.qq = customer.getQq();
	}


	public int getFin_id() {
		return fin_id;
	}

	public void setFin_id(int fin_id) {
		this.fin_id = fin_id;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
		//customer.setCname(cname);
	}

	public String getCidcard() {
		return cidcard;
	}

	public void setCidcard(String cidcard) {
		this.cidcard = cidcard;
		//customer.setCidcard(cidcard);
	}

	public String getCtel() {
		return ctel;
	}

	public void setCtel(String ctel) {
		this.ctel = ctel;
		//customer.setCtel(ctel);
	}

	public int getReferrerid() {
		return referrerid;
	}

	public void setReferrerid(int referrerid) {
		this.referrerid = referrerid;
		//customer.setReferrerid(referrerid);
	}

	public String getReferrerid_cidcard() {
		return referrerid_cidcard;
	}

	public void setReferrerid_cidcard(String referrerid_cidcard) {
		this.referrerid_cidcard = referrerid_cidcard;
	}

	public String getFin_status() {
		return fin_status;
	}

	public void setFin_status(String fin_status) {
		this.fin_status = fin_status;
	}

	public String getFin_create_time() {
		return fin_create_time;
	}

	public void setFin_create_time(String fin_create_time) {
		this.fin_create_time = fin_create_time;
	}

	public String getLast_log() {
		return last_log;
	}

	public void setLast_log(String last_log) {
		this.last_log = last_log;
	}

	public String getServer_ip() {
		return server_ip;
	}

	public void setServer_ip(String server_ip) {
		this.server_ip = server_ip;
		//customer.setServer_ip(server_ip);
	}

	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
		//customer.setOccupation(occupation);
	}

	public String getCsex() {
		return csex;
	}

	public void setCsex(String csex) {
		this.csex = csex;
		//customer.setCsex(csex);
	}

	public String getContact_address() {
		return contact_address;
	}

	public void setContact_address(String contact_address) {
		this.contact_address = contact_address;
		//customer.setContact_address(contact_address);
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
		//customer.setPostcode(postcode);
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
		//customer.setQq(qq);
	}

	public String getClogin() {
		return clogin;
	}

	public void setClogin(String clogin) {
		this.clogin = clogin;
		//customer.setClogin(clogin);
	}

	public String getCpsw() {
		return cpsw;
	}

	public void setCpsw(String cpsw) {
		this.cpsw = cpsw;
		//customer.setCpsw(cpsw);
	}

	public String getCemail() {
		return cemail;
	}

	public void setCemail(String cemail) {
		this.cemail = cemail;
		//customer.setCemail(cemail);
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
		//customer.setCid(cid);
	}


}
